package com.lin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lin.pojo.DModule;
import com.lin.pojo.DModuleDetails;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DModuleDetailsMapper extends BaseMapper<DModuleDetails> {
    //添加产品物料组成明细
    int addbyDModuleDetails(@Param("dm") DModuleDetails dModuleDetails);

    //根据父id去查找
    List<DModuleDetails> querybypid(@Param("pid") Integer pid);

    //根据父id去删除
    int deletebypid(@Param("pid") Integer pid);
}
